import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import common from './api/common'
import components from '@/components/index'
import tool from '@/utils/index'
import filters from "@/filters"
import 'amfe-flexible'
import './icons/index'
import '@/assets/css/index.css'
console.log(filters);

Vue.use(components)
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})
window.common = common
window.tool = tool

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
